package com.zrwl.poscloud.commons.config.file;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

@RefreshScope
@Configuration
@Data
public class ClientConfig {
    @Value(value = "${clientConfig.syncFrequency}")
    String syncFrequency;

    @Value(value = "${clientConfig.uploadFrequency}")
    String uploadFrequency;

    @Value(value = "${clientConfig.lowStorageSpace}")
    int lowStorageSpace;

    @Value(value = "${clientConfig.clientId}")
    String clientId;

    @Value(value = "${clientConfig.serverAddress}")
    String serverAddress;
}
